
.role-box {
	position: relative;
	height: 260rpx;
	align-items: center;
	z-index: 2;
	&::before{
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		z-index: 1;
		height: 240rpx; 
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-image: url();
	
	}
  .role-list {
    align-items: center;
    position: relative;
    margin-left: 24rpx;
    padding-top: 30rpx;
    height: 250rpx;
	z-index: 20;
    &.active {
      .triangle-img{
        display: block;
      }
    }
    .only-1 {
      max-width: 120rpx;
    }
    text {
      margin-bottom: 10rpx;
      text-align: center;
      font-size: 26rpx;
      color: #333;
    }

    .role-type {
      padding: 0 6rpx;
      height: 30rpx;
      min-width: 70rpx;
      color: #43ABC4;
      font-size: 28rpx;
      line-height: 30rpx;
      border-radius: 4rpx;
      font-size: 20rpx;
      text-align: center;
      border: 1px solid #43ABC4;
    }

    .role-text {
      background-color: #FF7A3A;
      color: #fff;
      border: 0
    }

    .avatar-box {

      width: 96rpx;
      height: 96rpx;
      margin-bottom: 15rpx;
      border: 1px solid #fff;
      border-radius: 50%;
      overflow: hidden;
      image {
        width: 96rpx;
        height: 96rpx;
      }
    }
  }

  .add-role {
    margin-right: 20rpx;
	padding-top: 30rpx;
    align-items: center;

    image {
      width: 100rpx;
      height: 100rpx;
      margin-bottom: 10rpx;
    }
  }
}

.triangle-img {
  display: none;
  position: absolute;
  bottom: 14rpx;
  left: 50%;  
  transform: translateX(-50%);
// width: 34rpx;
// height: 17rpx;
// background: #FFFFFF;
 border-left:14rpx solid transparent;
  border-right:14rpx solid transparent;
  border-bottom:14rpx solid #FFFFFF;
// box-shadow: 0px -1px 4rpx 1px rgba(0,0,0,0.1);
  // image {
  //   width: 18rpx;
  //   height: 18rpx;
  // }
}